//
//  RootVC.m
//  Fantasia
//
//  Created by kongkong on 16/9/17.
//  Copyright © 2016年 Kongkong. All rights reserved.
//

#import "RootVC.h"

@implementation RootVC

- (void)viewDidLoad{
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor whiteColor];
    self.navigationBar.hidden = YES;
}

- (void)pushViewController:(UIViewController *)viewController animated:(BOOL)animated{
    if (viewController.fanNavigationBarHidden) {
        [self setNavigationBarHidden:YES animated:animated];
    }
    else{
        [self setNavigationBarHidden:NO animated:animated];
    }

    [super pushViewController:viewController animated:animated];
}

@end
